package com.hitqz.robot.driver.util;

import java.util.HashMap;
import java.util.Map;

public enum QueueTypeEnum {

    TRACE(0, "激光巡线队列"),

    QRCODE(1, "二维码巡线队列"),

    NAV(2, "自主导航队列"),



    ;
    /**
     * 机器人队列状态
     */
    public static Map<Integer, QueueTypeEnum> MAP =new HashMap<>(8);


    static {
        for (QueueTypeEnum value: values()) {
            QueueTypeEnum.MAP.put(value.type, value);
        }
    }

    private final int type;

    private final String des;

    QueueTypeEnum(int type, String des) {
        this.type = type;
        this.des = des;
    }

    public int getType() {
        return type;
    }

    public String getDes() {
        return des;
    }
}
